﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CustomerEdit.ascx.cs" Inherits="MpSoft.Web.AdminCP.Controls.Customer.CustomerEdit" %>
<div class="row">
    <br />
    <div class="col-sm-8">
        <asp:Literal ID="ltlMessage" runat="server"></asp:Literal>
    </div>
    <div class="col-sm-4 btn-form btn-options">
         <a class="from-submit">
            <i class="glyphicon-edit"></i>
            <asp:Button ID="cmdSave" runat="server" Text="Lưu" OnClick="cmdSave_Click" CssClass="btn btn-green btn-large" />
        </a>
        <a class="from-submit">
            <i class="glyphicon-new_window"></i>
            <asp:Button ID="cmdSaveExit" runat="server" Text="Lưu & Thoát" OnClick="cmdSaveExit_Click" CssClass="btn btn-green btn-large" />
        </a>
        <a href="?mod=customer" class="btn btn-large"><i class="glyphicon-right_arrow">&nbsp;</i> Quay lại</a>
    </div>
</div>
<div class="row">
    <div class="col-sm-12">
        <div class="box box-color box-bordered">
            <div class="box-title">
                <h3>
                    <i class="fa fa-bars"></i>
                    Thông tin thành viên
                </h3>
                <div class="actions">
                    <a href="#" class="btn btn-mini content-slideUp">
                        <i class="fa fa-angle-down"></i>
                    </a>
                </div>
            </div>
            <div class="box-content form-horizontal form-bordered nopadding">
                <div class="form-group">
                    <label for="<%= txtUserName.ClientID %>" class="control-label col-sm-2">UserName: </label>
                    <div class="col-sm-10">
                        <asp:TextBox ID="txtUserName" runat="server" placeholder="UserName" CssClass="form-control" data-rule-required="true"></asp:TextBox>
                    </div>
                </div>
                <div class="form-group">
                    <label for="<%= txtEmail.ClientID %>" class="control-label col-sm-2">Email: </label>
                    <div class="col-sm-10">
                        <asp:TextBox ID="txtEmail" runat="server" placeholder="Email" CssClass="form-control" data-rule-required="true" data-rule-email="true"></asp:TextBox>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2">Lựa chọn: </label>
                    <div class="col-sm-10">
                        <asp:CheckBox ID="chkIsAdmin" Text="Is Admin&nbsp;&nbsp;&nbsp;" runat="server" />
                        <asp:CheckBox ID="chkIsActive" Text=" Active" runat="server" />
                    </div>
                </div>
                <% if (!ShowChangePass)
                   { %>
                <div class="form-group">
                    <label for="<%= txtPassWord.ClientID %>" class="control-label col-sm-2">PassWord: </label>
                    <div class="col-sm-10">
                        <asp:TextBox TextMode="Password" ID="txtPassWord" runat="server" placeholder="PassWord" CssClass="form-control" data-rule-required="true"></asp:TextBox>
                    </div>
                </div>
                <div class="form-group">
                    <label for="<%= txtConfirmPass.ClientID %>" class="control-label col-sm-2">Nhập lại PassWord: </label>
                    <div class="col-sm-10">
                        <asp:TextBox TextMode="Password" ID="txtConfirmPass" runat="server" placeholder="Nhập lại PassWord" CssClass="form-control" data-rule-required="true"></asp:TextBox>
                    </div>
                </div>
                <%} %>
            </div>
        </div>
    </div>
</div>
